package com.cloudfun.campusshare.repo;

import com.cloudfun.campusshare.entity.UserPreferWashPoint;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by Huqin on 2020/5/22
 */
public interface UserPreferWashPointRepo extends
        PagingAndSortingRepository<UserPreferWashPoint, String> {

    UserPreferWashPoint findByUserId(String userId);

    List<UserPreferWashPoint> findAllByWashPointId(String washPointId);
}